<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:d="http://java.sun.com/jsf/composite/dip"
	xmlns:func="http://dip.com.br/functions">
<h:head>
	<title></title>
</h:head>
<h:body>
	<ui:composition template="../tpt/tpt.xhtml">
		<ui:define name="head">
		Cadastro UF
	</ui:define>
		<ui:define name="conteudo">
			<f:view>

				<h:form name="formCadFuncionario" id="formCadFuncionario"
					prependId="false">
					<h:panelGroup id="cadCorpo" layout="block">
						<p:messages showDetail="true" autoUpdate="true" />
						<p:tabView id="tabCadFuncionario">
							<p:tab title="Dados Pessoais">
								<table>
									<tr>
										<td align="right">* Nome:</td>
										<td><p:inputText size="40" converter="stringUperCase"
												value="#{cadastroServidor.servidorPublico.descricao}" /></td>
										<td><p:commandButton update="cadCorpo"
												action="#{cadastroServidor.mostrarListagemServidor}"
												value="Pesquisar" /></td>
										<td align="right">* Data Nasc:</td>
										<td><p:inputMask
												value="#{cadastroServidor.servidorPublico.dataNascimento}"
												size="8" converter="dateConverter" mask="99/99/9999" /></td>

									</tr>

									<tr>
										<td align="right">Sexo:</td>
										<td colspan="2"><p:selectOneRadio
												value="#{cadastroServidor.servidorPublico.sexo}">
												<f:selectItem itemLabel="Masculino" itemValue="M" />
												<f:selectItem itemLabel="Feminino" itemValue="F" />

											</p:selectOneRadio></td>
										<td align="right">Estado Civil:</td>
										<td><p:selectOneMenu
												value="#{cadastroServidor.servidorPublico.estadoCivil}">
												<f:selectItems value="#{cadastroServidor.listaEstadoCivil}" />
											</p:selectOneMenu></td>

									</tr>
									<tr>
										<td align="right">* RG:</td>
										<td colspan="2"><p:inputText
												value="#{cadastroServidor.servidorPublico.RG}" /></td>
										<td align="right">* Emissor:</td>
										<td><p:inputText
												value="#{cadastroServidor.servidorPublico.orgEmissor}" /></td>
									</tr>

									<tr>
										<td align="right">* CPF:</td>
										<td colspan="2"><p:inputMask
												value="#{cadastroServidor.servidorPublico.CPF}" size="12"
												mask="999.999.999-99" /></td>
										<td align="right">Cert Militar:</td>
										<td><p:inputText
												value="#{cadastroServidor.servidorPublico.certificadoMilitar}" /></td>


									</tr>
									<tr>
										<td align="right">* Título Eleitor:</td>
										<td colspan="2"><p:inputText
												value="#{cadastroServidor.servidorPublico.tituloEleitor}" /></td>

										<td align="right">* Seção:</td>
										<td><p:inputText
												value="#{cadastroServidor.servidorPublico.secao}" /></td>


									</tr>
									<tr>
										<td align="right">* Zona:</td>
										<td colspan="4"><p:inputText
												value="#{cadastroServidor.servidorPublico.zona}" /></td>




									</tr>
									<tr>
										<td align="right">Carteira Trabalho:</td>
										<td colspan="2"><p:inputText
												value="#{cadastroServidor.servidorPublico.numCarteiraTrabalho}" /></td>
										<td align="right">* PASEP:</td>
										<td><p:inputText
												value="#{cadastroServidor.servidorPublico.pasep}" /></td>
									</tr>
									<tr>
										<td align="right">PIS:</td>
										<td colspan="4" align="left"><p:inputText
												value="#{cadastroServidor.servidorPublico.pis}" /></td>
									</tr>
									<tr>
										<td align="right">Fili Pai:</td>
										<td colspan="4"><p:inputText size="50"
												converter="stringUperCase"
												value="#{cadastroServidor.servidorPublico.filiPai}" /></td>
									</tr>
									<tr>
										<td align="right">Fili Mãe:</td>
										<td colspan="4"><p:inputText size="50"
												converter="stringUperCase"
												value="#{cadastroServidor.servidorPublico.filiMae}" /></td>
									</tr>
								</table>

							</p:tab>
						</p:tabView>

					</h:panelGroup>
				</h:form>

			</f:view>
		</ui:define>
	</ui:composition>
</h:body>
</html>
